#@cmsLayout()

#define cmsContent()
<div class="cms-breadcrumb">
	<i class="layui-icon layui-icon-flag"></i>
	<span class="layui-breadcrumb">
	  	<a href="">栏目管理</a>
	  	<a><cite>栏目管理</cite></a>
	</span>
</div>

<div class="">
	<div class="layui-fluid">
		<div class="layui-row">
		    <div id="colTree" class="layui-col-sm3 layui-card">
	      		<div id="colomunTree"></div>
		    </div>
		    <div class="layui-col-sm9">
			    <div id="colContent" class="">
			      	###这里显示栏目编辑表单
			    </div>
		    </div>
  		</div>
	</div>
</div>

#@jsInit()
<script type="text/javascript">
	tree.render({
		elem: "#colomunTree",
		data: #(colTreeStr),
		showLine: true,
		showCheckbox: false,
		accordion: true,
		click: function(obj){
			var id = obj.data.id;
			$.post("#(ctx)/cmsColumn/enterColumnEdit/"+id,function(data){
				$("#colContent").show();
				$("#colContent").html(data);
				form.render();
			});
		}
	});
</script>

#end